import router from '@/router'
import { menuType } from '@/types/menu'
const targetRouter = (item: menuType) => {
  console.log(item.url, 'item')
  if (item?.url) {
    router.push({
      path: item.url
    })
  }
}
export { targetRouter }
